scope of writ